package models

import "time"

type FaChannelTimePage struct {
	ID          uint64    `gorm:"primaryKey;autoIncrement" json:"id"`
	Page        string    `gorm:"size:255" json:"page"`
	Pages       string    `gorm:"size:255" json:"pages"`
	Time        int64     `gorm:"default:0" json:"time"`
	IP          string    `gorm:"size:25" json:"ip"`
	Address     string    `gorm:"size:255" json:"address"`
	UA          string    `gorm:"type:text" json:"ua"`
	Model       string    `gorm:"size:255" json:"model"`
	CreatedTime time.Time `gorm:"type:datetime" json:"created_time"`
	Channel     string    `gorm:"size:255" json:"channel"`
}

func (FaChannelTimePage) TableName() string {
	return "fa_channel_time_page"
}
